package com.software.sqlite.service;

import com.software.sqlite.api.admin.v1.vo.AdminV1Result;
import com.software.sqlite.entity.TbSailasTVClient;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Service
 */
public interface ITbSailastvClientService {

    /**
     * 添加/修改
     * @param model
     * @return
     */
    AdminV1Result edit(TbSailasTVClient model);

    /**
     * 批量添加
     * @param request
     * @return
     */
    AdminV1Result batchAdd(HttpServletRequest request);

    /**
     * 导入Excel
     * @throws Exception
     */
    AdminV1Result importData(MultipartFile file, Map<String, Object> paramsMap, HttpServletRequest request);

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    String exportData(TbSailasTVClient model)throws Exception;

}
